﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using bdxyit.com.RecruitmentAppSys.IDAL;
using bdxyit.com.RecruitmentAppSys.DALFactory;
using bdxyit.com.RecruitmentAppSys.Models;
using bdxyit.com.RecruitmentAppSys.ViewModels;

namespace bdxyit.com.RecruitmentAppSys.BLL
{
    public class EducationListBLL
    {
        private static readonly IEducationListDAL EducationListDal = DataAccess.CreateEducationList();
        public static List<EducationList> SelectEducationList()
        {
            return EducationListDal.SelectEducationList();
        }
        public static EducationList SelectEducationListByEduID(string EduID)
        {
            return EducationListDal.SelectEducationListByEduID(EduID);
        }
        public static bool DeleteEducationListByEduID(string EduID)
        {
            return EducationListDal.DeleteEducationList(EduID);
        }
        public static bool InsertEducationList(EducationList cmodel)
        {
            return EducationListDal.InsertEducationList(cmodel);
        }
        public static bool UpdateEducationList(EducationList cmodel)
        {
            return EducationListDal.UpdateEducationList(cmodel);
        }

    }
}
